home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwat06.dir / 00070_Script_70 < prev    next >
Text File  |  1994-11-15  |  5KB  |  187 lines

  1. on startMovie
  2.   global currMM, stateOn, stepNow, dialogOn
  3.   global rolledAlready, showText, switchState
  4.   set dialogOn = FALSE
  5.   set stepNow = FALSE
  6.   set switchState = FALSE
  7.   set stateOn = FALSE
  8.   set rolledAlready = FALSE
  9.   set showText = FALSE
  10.   set currMM = "FLWWW"
  11.   puppetSprite 10, TRUE
  12.   puppetSprite 21, TRUE
  13.   puppetSprite 22, TRUE
  14.   puppetSprite 23, TRUE
  15.   set the immediate of sprite 23 to TRUE
  16.   set the stretch of sprite 23 to FALSE
  17. end startMovie
  18.  
  19. on stepMovie
  20.   global nowFrame,currFrame
  21.   if nowFrame  <> currFrame then
  22.     seeAlsoList
  23.     set currFrame = nowFrame
  24.   end if
  25. end stepMovie
  26.  
  27. on stopMovie
  28.   set the castNum of sprite 21 to 1050
  29.   puppetSprite 21, FALSE
  30.   put " " into field "seeAlsoText"
  31.   updateStage
  32. end stopMovie
  33.  
  34. on scrollRoll
  35.   global switchState
  36.   
  37.   if rollover(13) then
  38.     set the forecolor of sprite 13 to 228
  39.   else
  40.     set the forecolor of sprite 13 to 255
  41.   end if
  42.   
  43.   if rollover(14) then
  44.     set the forecolor of sprite 14 to 228
  45.   else
  46.     set the forecolor of sprite 14 to 255
  47.   end if
  48.   
  49.   --ò FRAMES TO BE FIXED...
  50.   
  51.   --if the frame > 1  and the frame < 153 then
  52.   if the castNum of sprite 7 = 66 then
  53.     if the castNum of sprite 13 <> the number of cast "nextTxUp" then
  54.       set the castNum of sprite 13 to the number of cast "nextTxRt"
  55.     end if
  56.     set the castNum of sprite 14 to the number of cast "prevTxNull"
  57.   else if the castNum of sprite 7 = 64 then
  58.     set the castNum of sprite 13 to the number of cast "nextTxNull"
  59.     if the castNum of sprite 14 <> the number of cast "prevTxUp" then
  60.       set the castNum of sprite 14 to the number of cast "prevTxRt"
  61.     end if
  62.   else
  63.     if the castNum of sprite 13 <> the number of cast "nextTxUp" then
  64.       set the castNum of sprite 13 to the number of cast "nextTxRt"
  65.     end if
  66.     if the castNum of sprite 14 <> the number of cast "prevTxUp" then
  67.       set the castNum of sprite 14 to the number of cast "prevTxRt"
  68.     end if
  69.   end if
  70.   --end if
  71.   
  72.   updateStage
  73. end scrollRoll
  74.  
  75. on multiScreenPup
  76.   puppetSprite 7, TRUE
  77.   puppetSprite 8, TRUE
  78.   puppetSprite 11, TRUE
  79.   puppetSprite 13, TRUE
  80.   puppetSprite 14, TRUE
  81. end multiScreenPup
  82.  
  83. on saveLocals
  84.   global lastFrame, nowFrame, lastMovie
  85.   set lastFrame = nowFrame
  86.   set lastMovie = the movie
  87. end saveLocals
  88.  
  89. on buttonState
  90.   global FrankNav
  91.   global thumbTrack, thumbFrame, bflag, dialogOn
  92.   
  93.   if dialogOn = FALSE then
  94.     
  95.     glassCheck
  96.     scrollRoll
  97.     
  98.     -- don't check global buttons unless mouse is down at bottom
  99.     if (the mouseV > 300) or (bFlag = TRUE) then
  100.       doState
  101.     end if
  102.   end if
  103. end buttonState
  104.  
  105. on atForStep
  106.   puppetSprite 7, FALSE
  107.   puppetSprite 8, FALSE
  108.   puppetSprite 11, FALSE
  109.   puppetSprite 13, FALSE
  110.   puppetSprite 14, FALSE
  111.   if the frame = 27 then
  112.     go to movie "FLWAT01"
  113.   else
  114.     go to marker(+1)
  115.   end if
  116.   updateStage
  117. end atForStep
  118.  
  119. on atBackStep
  120.   puppetSprite 7, FALSE
  121.   puppetSprite 8, FALSE
  122.   puppetSprite 11, FALSE
  123.   puppetSprite 13, FALSE
  124.   puppetSprite 14, FALSE
  125.   if the frame < 3 then
  126.     go to frame "at000bld121°°°" of movie "FLWAT05"
  127.   else
  128.     go to marker(-1)
  129.   end if
  130.   updateStage
  131. end atBackStep
  132.  
  133. on textRoll txHt
  134.   global origLocV, rolledAlready, topHat, horNess, dialogOn, SeeAlsoBox
  135.   if dialogOn = FALSE and SeeAlsoBox = FALSE then
  136.     set topHat = txHt
  137.     if rolledAlready = FALSE then
  138.       set origLocV = the locV of sprite 8
  139.     end if
  140.     
  141.     if the mouseH < 414 and the mouseV > 366 and the mouseV < 429 then
  142.       set the locV of sprite 8 to txHt
  143.       set rolledAlready = TRUE
  144.     else if the mouseH > 414 or the mouseV > 429 or the mouseV < topHat then
  145.       set the locV of sprite 8 to origLocV
  146.     end if
  147.   end if
  148. end textRoll
  149.  
  150. on glassCheck
  151.   global stateOn, adjLoc
  152.   
  153.   if rollOver(10) then 
  154.     set the castNum of sprite 10 to 123
  155.   else
  156.     set the castNum of sprite 10 to 2
  157.   end if
  158.   
  159.   updateStage
  160. end glassCheck
  161.  
  162. on nextList
  163.   global switchState
  164.   puppetSprite 11, FALSE
  165.   puppetSprite 13, FALSE
  166.   puppetSprite 14, FALSE
  167.   set switchState = TRUE
  168.   if rollover(13) then
  169.     set currCast = the castNum of sprite 7
  170.     set the castNum of sprite 7 to (the number of cast currCast - 1)
  171.     set the castNum of sprite 11 to 127
  172.   end if
  173. end nextList
  174.  
  175. on prevList
  176.   global switchState
  177.   puppetSprite 11, FALSE
  178.   puppetSprite 13, FALSE
  179.   puppetSprite 14, FALSE
  180.   set switchState = TRUE
  181.   if rollover(14) then
  182.     set currCast = the castNum of sprite 7
  183.     set the castNum of sprite 7 to (the number of cast currCast + 1)
  184.     set the castNum of sprite 11 to 127
  185.   end if
  186. end prevList
  187.